﻿using Game.Surface;
using Game.Map;

namespace Game.Editor
{
    public class ViewSurfaceField : SurfaceField
    {
        public ViewSurfaceField(IMapFieldView field)
            : base(field, null, null)
        {
            field.IsVisible = true;
        }

        protected override void UpdateBitmap(IMapFieldView field)
        {
            Fill = SurfaceFieldRenderer.CreateDisplayOnlyBrush(field);
        }

    }

}

